package com.lwq.orderservice.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther: 陆
 * @Date: 2024/01/30/18:17
 * @Description: 订单实体类
 */

@Data
@ApiModel("订单")
public class Order {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("价格")
    private Double price;
    @ApiModelProperty("数量")
    private Integer num;
}
